from selenium.webdriver.common.by import By


class AylaHome(object):
    parms = {
        '照明':(By.XPATH, '''//*[@text="照明"]'''),
        '添加设备+':(By.ID, '''iv_add_devices'''),
        '雅典智能射灯':(By.XPATH, '''//*[@text="雅典智能射灯"]'''),
        '雅典智能网关':(By.XPATH, '''//*[@text="雅典智能网关"]'''),
        '我已确认上述操作':(By.XPATH, '''//*[@text="我已确认上述操作"]'''),
        '下一步':(By.XPATH, '''//*[@text="下一步"]''')
             }

    def getParms(self):
        return self.parms